package com.lyj.mode.appearance;

/**
 * 音响
 * @author:liyajie
 * @createTime:2022/3/2 14:24
 * @version:1.0
 */
public class Stereo {

    private static Stereo stereo = new Stereo();

    private Stereo(){}

    public static Stereo getInstance(){
        return stereo;
    }

    public void on(){
        System.out.println("打开音响");
    }

    public void off(){
        System.out.println("关闭音响");
    }

    public void setVolume(){
        System.out.println("调节音响音量");
    }
}
